Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit.PropertyGrid Namespace / EditorNumericUpDownDefinitionBase<TEditor,TType> Class / UpdateValueOnEnterKey Property


In This Topic
    UpdateValueOnEnterKey Property (EditorNumericUpDownDefinitionBase<TEditor,TType>)
    In This Topic
    Gets or sets a value indicating whether the synchronization between "Value" and "Text" will only be done on an Enter key press or a lostFocus.
    Syntax
    'Declaration
     
    Public Property UpdateValueOnEnterKey As Boolean
    'Usage
     
    Dim instance As EditorNumericUpDownDefinitionBase(Of TEditor,TType)
    Dim value As Boolean
     
    instance.UpdateValueOnEnterKey = value
     
    value = instance.UpdateValueOnEnterKey
    public bool UpdateValueOnEnterKey {get; set;}

    Property Value

    true if the synchronization between "Value" and "Text" will only be done on an Enter key press or a lostFocus; false, otherwise. By default, false*.

    * DateTimePicker, TimePicker and DateTimeUpDown : true by default.

    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also